import { defineStore } from 'pinia'

export const audioStore = defineStore('audio', {
  state :()=>({
    play : false,
    src : ''
  }),
  actions:{
    listen(){
      this.play = true
    },
    stop(){
      this.play = false
    },
    changeMusice(){
      //获取音频
      // xxx
      this.src = ''
    }
  },
})
